
using Nop.Core;
using Nop.Core.Domain.XJ;
using System.Collections.Generic;

namespace Nop.Services.XJ
{
	/// <summary>
	/// XJMaintenanceComment service
	/// </summary>
	public partial interface IXJMaintenanceCommentService
	{
		/// <summary>
		/// Gets all XJMaintenanceComments
		/// </summary>
		/// <returns>XJMaintenanceComment</returns>
		IList<XJMaintenanceComment> GetAllXJMaintenanceComments();

		IPagedList<XJMaintenanceComment> GetAllMaintenanceComments(int maintenanceId = 0, int pId = 0, string name = "", int pageIndex = 0, int pageSize = int.MaxValue);

		/// <summary>
		/// Gets a XJMaintenanceComment 
		/// </summary>
		/// <param name="xJMaintenanceCommentId">XJMaintenanceComment identifier</param>
		/// <returns>XJMaintenanceComment</returns>
		XJMaintenanceComment GetXJMaintenanceCommentById(int xJMaintenanceCommentId);

		/// <summary>
		/// Inserts a XJMaintenanceComment
		/// </summary>
		/// <param name="xJMaintenanceComment">XJMaintenanceComment</param>
		void InsertXJMaintenanceComment(XJMaintenanceComment xJMaintenanceComment);

		/// <summary>
		/// Updates the XJMaintenanceComment
		/// </summary>
		/// <param name="xJMaintenanceComment">XJMaintenanceComment</param>
		void UpdateXJMaintenanceComment(XJMaintenanceComment xJMaintenanceComment);

		/// <summary>
		/// Deletes a XJMaintenanceComment
		/// </summary>
		/// <param name="XJMaintenanceComment">XJMaintenanceComment</param>
		void DeleteXJMaintenanceComment(XJMaintenanceComment xJMaintenanceComment);
	}
}

